<?php
namespace Acme\TaskBundle\Entity;

use Symfony\Component\Validator\Constraints as Assert;

class Category
{
    /**
     * @Assert\NotBlank()
     */
    protected $name;

    public function getName()
    {
        return $this->name;
    }
}